package com.yanzhu.constant;


/**
 * @Author: 方炎柱
 * @Description:
 * @Date: Created in 22:06 2018/1/17
 * @Modified:
 */
public class Constant {

    public static final String DOMAIN = "https://i-test.com.cn";

    public static final String APP_ID = "wxccb2d51e178f287d";

    public static final String APP_SECRET = "9ab9fcc3d70ca557010b6675aec902e9";

    public static final String APP_KEY = "填写自己的";

    public static final String MCH_ID = "填写自己的";  //商户号

    public static final String URL_UNIFIED_ORDER = "https://api.mch.weixin.qq.com/pay/unifiedorder";

    public static final String URL_NOTIFY = Constant.DOMAIN + "/wxpay/views/payInfo.jsp";

    public static final String TIME_FORMAT = "yyyyMMddHHmmss";

    public static final int TIME_EXPIRE = 2;  //单位是day

    public final static String TOKEN_URL = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code";

    public final static String WX_OPENID_SESSIONKEY_URL = "https://api.weixin.qq.com/sns/jscode2session?appid=APPID&secret=SECRET&js_code=JSCODE&grant_type=authorization_code";

    public final static String WX_SNSAPI_URL  = "https://api.weixin.qq.com/sns/userinfo?access_token=ACCESS_TOKEN&openid=OPENID&lang=zh_CN";


    public final static String MESSAGE_NAME = "欢乐大过年";

    public final static int MESSAGE_TYPE0 = 0;

    public final static int MESSAGE_TYPE1 = 1;

    public final static int MESSAGE_TYPE2 = 2;

    public final static String MESSAGE_CONTENT1 = "红包被抢完啦";

    public final static String MESSAGE_CONTENT2 = "视频金热门啦";

    public final static String MESSAGE_CONTENT3 = "消息：抢了一个红包";

    public final static String MESSAGE_CONTENT4 = "消息：给你点了15个赞";

    public final static String MESSAGE_CONTENT5 = "评论：";

    //TODO
    public final static String MESSAGE_avatar = "欢乐大过年图片";


}
